package com.zhuang.mybatis.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * description: Emp
 * date: 2022/9/30 22:30
 * author: Zhuang
 * version: 1.0
 */
@Data
@NoArgsConstructor
@ToString
public class Emp {

    private Integer empId;

    private String empName;

    private Integer age;

    private String gender;

    private Dept dept;

    private Integer deptId;

    public Emp(Integer empId, String empName, Integer age, String gender) {
        this.empId = empId;
        this.empName = empName;
        this.age = age;
        this.gender = gender;
    }
}
